package com.ruoyi.adapayBalancepay.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 余额支付记录对象 jy_adapay_balancepay
 *
 * @author ch
 * @date 2022-03-03
 */
@ApiModel
public class AdapayBalancepay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    @ApiModelProperty(value = "订单id")
    private Long productOrderId;

    /** 领取的红包id */
    @Excel(name = "领取的红包id")
    @ApiModelProperty(value = "领取的红包id")
    private Long couponsMemberId;

    /** 请求参数 */
    @Excel(name = "请求参数")
    @ApiModelProperty(value = "请求参数")
    private String reqParam;

    /** 回调参数 */
    @Excel(name = "回调参数")
    @ApiModelProperty(value = "回调参数")
    private String resParam;

    /** 支付状态 */
    @Excel(name = "支付状态")
    @ApiModelProperty(value = "支付状态")
    private String payState;

    /** 支付失败原因 */
    @Excel(name = "支付失败原因")
    @ApiModelProperty(value = "支付失败原因")
    private String payFailMsg;

    /** 请求状态 */
    @Excel(name = "请求状态")
    @ApiModelProperty(value = "请求状态")
    private String reqState;

    /** 请求失败原因 */
    @Excel(name = "请求失败原因")
    @ApiModelProperty(value = "请求失败原因")
    private String reqFailMsg;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProductOrderId(Long productOrderId)
    {
        this.productOrderId = productOrderId;
    }

    public Long getProductOrderId()
    {
        return productOrderId;
    }
    public void setCouponsMemberId(Long couponsMemberId)
    {
        this.couponsMemberId = couponsMemberId;
    }

    public Long getCouponsMemberId()
    {
        return couponsMemberId;
    }
    public void setReqParam(String reqParam)
    {
        this.reqParam = reqParam;
    }

    public String getReqParam()
    {
        return reqParam;
    }
    public void setResParam(String resParam)
    {
        this.resParam = resParam;
    }

    public String getResParam()
    {
        return resParam;
    }
    public void setPayState(String payState)
    {
        this.payState = payState;
    }

    public String getPayState()
    {
        return payState;
    }
    public void setPayFailMsg(String payFailMsg)
    {
        this.payFailMsg = payFailMsg;
    }

    public String getPayFailMsg()
    {
        return payFailMsg;
    }
    public void setReqState(String reqState)
    {
        this.reqState = reqState;
    }

    public String getReqState()
    {
        return reqState;
    }
    public void setReqFailMsg(String reqFailMsg)
    {
        this.reqFailMsg = reqFailMsg;
    }

    public String getReqFailMsg()
    {
        return reqFailMsg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productOrderId", getProductOrderId())
            .append("couponsMemberId", getCouponsMemberId())
            .append("reqParam", getReqParam())
            .append("resParam", getResParam())
            .append("payState", getPayState())
            .append("payFailMsg", getPayFailMsg())
            .append("reqState", getReqState())
            .append("reqFailMsg", getReqFailMsg())
            .toString();
    }
}
